section
	each p,i in items
		clazz = []
		if i%4==0
			- clazz.push('first')

		.ib.m_col_1_4.mbottom20(class=clazz.join(' '))
			_change = null
			_change_rate = null
			if p.extra2.latest_netval && p.extra2.latest_netval.length
				- _change = p.extra2.latest_netval[0].product_net_value
				- _change_rate = p.extra2.latest_netval[0].changerate
			figure.pane
				img(src='/_cms_/sites/default/files/ads/asset_index_#{p.code}.jpg', alt=p.title).mon_p
				figcaption
					.mon_cap
						a(href='#/asset/detail?pid=#{p.id}').link= p.title

					.descp.padleft15.padright15
						a(href='#/asset/detail?pid=#{p.id}')
							= (p.description||'').substring(0, 47)
							if (p.description||'').length > 46
								| ...
					.purchaseDiv
						site = p.extra2.buy_at_other_site
						if !site
							if p.extra2.latest_info && (p.extra2.latest_info.status=='0' || p.extra2.latest_info.status=='1')
								a.buy.wc(ng-click="dialog.MoneyTip=true;buy('#{p.id}', '#{p.name}', '#{p.code}', '#{p.title}', '#{p.risk_level}', '#{p.extra2.latest_info.charge_type}')", href='#', onclick='return false') 购买
							else
								span.buy-disabled.wc 购买
						else
							a.buy.wc(href=site, target="_blank") 购买

						yjbjjz = p.extra2.yjbjjz
						if !yjbjjz
							if (_change || _change_rate) && p.id != 'M_873001'
								.pull-right.font14.b
									= Number(_change).toFixed(4)+', '
									if _change_rate > 0
										span.orc +#{Number(_change_rate).toFixed(2)}%
									else if _change_rate < 0
										span.grc #{Number(_change_rate).toFixed(2)}%
									else 
										= Number(_change_rate).toFixed(2) + '%'
						else
							.pull-right.font14
								span 业绩比较基准：
								span.b #{Number(yjbjjz).toFixed(2)}%